'Declaration
<ExtensionAttribute()> Public Overloads Shared Sub SubscribeTarget( _ ByVal clientMapper As DAClientMapper, _ ByVal active As Boolean, _ ByVal mappingTagsPredicate As Predicate(Of IEnumerable(Of String)), _ ByVal targetObject As Object, _ ByVal recurse As Boolean _ )
'Usage
Dim clientMapper As DAClientMapper Dim active As Boolean Dim mappingTagsPredicate As Predicate(Of IEnumerable(Of String)) Dim targetObject As Object Dim recurse As Boolean DAClientMapperExtension.SubscribeTarget(clientMapper, active, mappingTagsPredicate, targetObject, recurse)
[Extension()] public static void SubscribeTarget( DAClientMapper clientMapper, bool active, Predicate<IEnumerable<string>> mappingTagsPredicate, object targetObject, bool recurse )
[Extension()] public: static void SubscribeTarget( DAClientMapper^ clientMapper, bool active, Predicate<IEnumerable<String^>^>^ mappingTagsPredicate, Object^ targetObject, bool recurse )
Parameters
- clientMapper
- The client mapper object that will perform the operation.
The value of this parameter cannot be
null
(Nothing
in Visual Basic). - active
true
to subscribe;false
to unsubscribe.- mappingTagsPredicate
- The operation will be performed only on mappings whose mapping tags satisfy this predicate.
The value of this parameter cannot be
null
(Nothing
in Visual Basic). - targetObject
- The object being targeted.
The value of this parameter cannot be
null
(Nothing
in Visual Basic). - recurse
true
to operate on sub-targets (mapped members of the target) recursively;false
otherwise.